package com.cloud.system.api.entity;

import javax.persistence.*;

@Table(name = "unit_domain")
public class UnitDomain {
    @Id
    @Column(name = "unit_id")
    private Long unitId;


    @Column(name = "domain_type_id")
    private String domainTypeId;

    @Column(name = "domain_type_name")
    private String domainTypeName;

    @Id
    @Column(name = "sub_domain_type_id")
    private String subDomainTypeId;

    @Column(name = "sub_domain_type_name")
    private String subDomainTypeName;


    /**
     * @return unit_id
     */
    public Long getUnitId() {
        return unitId;
    }

    /**
     * @param unitId
     */
    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    /**
     * @return domain_type_id
     */
    public String getDomainTypeId() {
        return domainTypeId;
    }

    /**
     * @param domainTypeId
     */
    public void setDomainTypeId(String domainTypeId) {
        this.domainTypeId = domainTypeId;
    }

    /**
     * @return domain_type_name
     */
    public String getDomainTypeName() {
        return domainTypeName;
    }

    /**
     * @param domainTypeName
     */
    public void setDomainTypeName(String domainTypeName) {
        this.domainTypeName = domainTypeName;
    }

    public String getSubDomainTypeId() {
        return subDomainTypeId;
    }

    public void setSubDomainTypeId(String subDomainTypeId) {
        this.subDomainTypeId = subDomainTypeId;
    }

    public String getSubDomainTypeName() {
        return subDomainTypeName;
    }

    public void setSubDomainTypeName(String subDomainTypeName) {
        this.subDomainTypeName = subDomainTypeName;
    }
}